package com.mobimap.nhom9.bus;

import com.mobimap.nhom9.dto.LocationDTO;
import com.mobimap.nhom9.dto.PlaceDTO;

public interface IMobimapBUS {
	/**
	 * Get user location (using GPS)
	 * 
	 * @return LocationDTO / null
	 */
	public LocationDTO getCurrentGps();

	/**
	 * Add new Place to database
	 * 
	 * @param newPlace
	 * @return true / false
	 */
	public boolean addDichVu(PlaceDTO newPlace);

	/**
	 * Update info of exist Place
	 * 
	 * @param id
	 * @param newPlace
	 * @return true / false
	 */
	public boolean updateDichVu(int id, PlaceDTO newPlace);
}
